package com.zky.mapper;

import com.zky.pojo.HeadLine;
import com.zky.pojo.PortalVo;
import com.zky.pojo.portal;

import java.util.List;
import java.util.Map;

public interface portalMapper {
    List<portal> selectAllPortal();
    List findNewPage(PortalVo portalVo);
    Map showHeadlineDetail(Integer hid);
    int updateHeadline(HeadLine headline);
    int insert(HeadLine headline);
    HeadLine findHeadLineByHid(Integer hid);
    int updateHeadlineMessage(HeadLine headline);
    int delete(Integer hid);
}
